Automattic\WooCommerce\Admin\API\Reports\DataStore D

Total Complexity 227
Dependencies 6
Dependents 0
Total lines 1,441
Lines of code 749
Logical lines of code 459
Comment lines 529
Methods 57
Properties 15

Methods 57

Method Rating Maintainability Complexity Lines of code
update_intervals_sql_params()
B
34 20 94
get_attribute_subqueries()
B
39 17 59
get_status_subquery()
A
51 13 23
get_included_products_array()
A
53 11 22
interval_cmp()
A
56 11 18
add_time_period_sql_params()
A
49 10 30
get_refund_subquery()
S
52 7 23
fill_in_missing_intervals()
S
46 6 36
normalize_timezones()
S
58 7 14
get_excluded_products_array()
S
61 7 11
update_interval_boundary_dates()
S
51 6 25
remove_extra_records()
S
55 6 19
format_join_selections()
S
58 6 14
get_cached_data()
S
57 5 17
intervals_missing()
S
57 5 16
selected_columns()
S
59 5 15
get_cache_key()
S
56 4 19
cast_numbers()
S
59 4 15
get_customer_subquery()
S
61 4 12
get_match_operator()
S
62 4 12
get_limit_params()
S
61 4 12
get_filtered_ids()
S
60 4 11
get_products_by_cat_ids()
S
57 3 17
__construct()
S
58 3 16
get_object_where_filter()
S
58 3 15
get_ids_table()
S
61 3 12
create_interval_subtotals()
S
56 2 19
add_intervals_sql_params()
S
64 3 9
get_fields()
S
70 3 6
expected_intervals_on_page()
S
63 3 10
set_db_table_name()
S
70 3 6
add_debug_cache_to_envelope()
S
65 3 9
get_db_table_name()
S
74 2 4
normalize_order_by()
S
72 2 6
set_cached_data()
S
71 2 6
add_orderby_order_clause()
S
68 2 7
add_order_by_clause()
S
65 2 9
add_order_status_clause()
S
65 2 8
add_order_by_sql_params()
S
64 2 10
get_excluded_orders()
S
79 1 3
should_use_cache()
S
78 1 3
sort_intervals()
S
79 1 3
get_excluded_users()
S
79 1 3
get_included_users()
S
79 1 3
get_excluded_coupons()
S
79 1 3
get_included_orders()
S
79 1 3
get_included_coupons()
S
79 1 3
get_included_categories()
S
79 1 3
get_excluded_products()
S
75 1 4
sort_array()
S
72 1 5
get_excluded_variations()
S
79 1 3
get_included_variations()
S
79 1 3
get_included_products()
S
75 1 4
get_excluded_report_order_statuses()
S
70 1 5
normalize_order_status()
S
75 1 4
get_limit_sql_params()
S
67 1 7
assign_report_columns()
S
98 1 1